<?php /* Smarty version 2.6.26, created on 2018-08-23 06:55:33
         compiled from header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'GetUrl', 'header.tpl', 20, false),array('modifier', 'strstr', 'header.tpl', 47, false),array('modifier', 'cat', 'header.tpl', 57, false),)), $this); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['charset']; ?>
" />
<title><?php echo $this->_tpl_vars['pagetitle']; ?>
</title>
<meta name="keywords" content="<?php echo $this->_tpl_vars['metakeywords']; ?>
" />
<meta name="description" content="<?php echo $this->_tpl_vars['metadescription']; ?>
" />
<?php echo $this->_tpl_vars['templateheader']; ?>

<link rel="stylesheet" type="text/css" href="<?php echo $this->_tpl_vars['templateurl']; ?>
css/styles.css" />
<!--[if IE 6.0]>
<style type="text/css">
#topnav { margin-top:-5px;}
</style>
<![endif]-->
</head>
<body>
<div id="head">
    <div id="logo">
        <h1><a href="<?php echo ((is_array($_tmp='index.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
"><img src="<?php echo $this->_tpl_vars['templateurl']; ?>
images/logo.jpg" alt="<?php echo $this->_tpl_vars['siteCopyright']; ?>
" /></a></h1>
        <table border="0" cellpadding="0" cellspacing="0">
	<tr>
	<td valign="middle">
	<?php if (! $this->_tpl_vars['userinfo']['userid']): ?>
	<form action="<?php echo ((is_array($_tmp='login.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
" method="post" id="login_form">
	<input type="hidden" name="thisurl" value="<?php if ($_POST['thisurl']): ?><?php echo $_POST['thisurl']; ?>
<?php else: ?><?php echo $_SERVER['REQUEST_URI']; ?>
<?php endif; ?>" />
	<?php echo $this->_tpl_vars['lan_username']; ?>
: <input type="text" class="text" name="loginusername" />&nbsp;
	<?php echo $this->_tpl_vars['lan_password']; ?>
: <input type="password" class="text" name="loginpassword" />&nbsp;
	<input type="submit" id="login_submit" value="<?php echo $this->_tpl_vars['lan_login']; ?>
" class="loginbutton" /></form>
	<?php endif; ?>
	</td>
	<td valign="middle" height="20">
	<?php if ($this->_tpl_vars['userinfo']['userid']): ?>
	<?php echo $this->_tpl_vars['lan_welcome']; ?>
: <font class="orangeb"><?php echo $this->_tpl_vars['userinfo']['username']; ?>
</font>&nbsp;&nbsp;&nbsp;|<a href="<?php echo ((is_array($_tmp='mydesk.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
"><?php echo $this->_tpl_vars['lan_mydesk']; ?>
</a>|<a href="<?php echo ((is_array($_tmp='login.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp, '', '', '', 'logout=1') : GetUrl($_tmp, '', '', '', 'logout=1')); ?>
"><?php echo $this->_tpl_vars['lan_logout']; ?>
</a>
	<?php else: ?>
	<a href="<?php echo ((is_array($_tmp='getbackpass.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
"><?php echo $this->_tpl_vars['lan_getbackpass']; ?>
</a>|<a href="<?php echo ((is_array($_tmp='register.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
"><?php echo $this->_tpl_vars['lan_joinnow']; ?>
</a>
	<?php endif; ?>
	</td>
	</tr>
	<tr><td colspan="2" align="right" valign="bottom" height="22">
	<?php if (@SITE_LANG == 'Chinese'): ?><a href="javascript:void(0);"><img src="<?php echo $this->_tpl_vars['templateurl']; ?>
images/chinese2.gif" title="<?php echo $this->_tpl_vars['lan_chinese']; ?>
" /></a><?php else: ?><a href="#" onclick="setCookie('IPLANG<?php echo @COOKIE_KEY; ?>
', 'Chinese', 7); document.location=window.location.href;"><img src="<?php echo $this->_tpl_vars['templateurl']; ?>
images/chinese.gif" title="<?php echo $this->_tpl_vars['lan_chinese']; ?>
" /></a><?php endif; ?><?php if (@SITE_LANG == 'English'): ?><a href="javascript:void(0);"><img src="<?php echo $this->_tpl_vars['templateurl']; ?>
images/english2.gif" title="<?php echo $this->_tpl_vars['lan_english']; ?>
" /></a><?php else: ?><a href="#" onclick="setCookie('IPLANG<?php echo @COOKIE_KEY; ?>
', 'English', 7); document.location=window.location.href;"><img src="<?php echo $this->_tpl_vars['templateurl']; ?>
images/english.gif" title="<?php echo $this->_tpl_vars['lan_english']; ?>
" /></a><?php endif; ?>
	</td></tr>
	</table>
    </div>
    <div id="menu">
	<ul>
	<li class="menu_home"><a href="<?php echo ((is_array($_tmp='index.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
" <?php if (! ((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'categories') : strstr($_tmp, 'categories')) && ! ((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'news') : strstr($_tmp, 'news')) && ! ((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'about') : strstr($_tmp, 'about')) && ! ((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'contact') : strstr($_tmp, 'contact')) && ! ((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'publish') : strstr($_tmp, 'publish')) && ! ((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'mydesk') : strstr($_tmp, 'mydesk'))): ?> class="homehere"<?php endif; ?>><?php echo $this->_tpl_vars['lan_home']; ?>
</a></li>

	<li class="menu_other"><a href="<?php echo ((is_array($_tmp='categories.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
" <?php if (((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'categories') : strstr($_tmp, 'categories'))): ?> class="here"<?php endif; ?>><?php echo $this->_tpl_vars['lan_categories']; ?>
</a></li>

	<li class="menu_other"><a href="<?php echo ((is_array($_tmp='news.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
" <?php if (((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'news') : strstr($_tmp, 'news'))): ?> class="here"<?php endif; ?>><?php echo $this->_tpl_vars['lan_webnews']; ?>
</a></li>

	<li class="menu_other"><a href="<?php echo ((is_array($_tmp='about.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
" <?php if (((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'about') : strstr($_tmp, 'about'))): ?> class="here"<?php endif; ?>><?php echo $this->_tpl_vars['lan_about']; ?>
</a></li>

	<li class="menu_other"><a href="<?php echo ((is_array($_tmp='contact.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
" <?php if (((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'contact') : strstr($_tmp, 'contact'))): ?> class="here"<?php endif; ?>><?php echo $this->_tpl_vars['lan_contact']; ?>
</a></li>

	<li class="menu_other"><a href="<?php echo ((is_array($_tmp='publish.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
" <?php if (((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'publish') : strstr($_tmp, 'publish'))): ?> class="here"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['lan_publish'])) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lan_image']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lan_image'])); ?>
</a></li>

	<?php if ($this->_tpl_vars['userinfo']['userid']): ?><li class="menu_other"><a href="<?php echo ((is_array($_tmp='mydesk.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
" <?php if (((is_array($_tmp=$_SERVER['SCRIPT_NAME'])) ? $this->_run_mod_handler('strstr', true, $_tmp, 'mydesk') : strstr($_tmp, 'mydesk'))): ?> class="here"<?php endif; ?>><?php echo $this->_tpl_vars['lan_mydesk']; ?>
</a></li><?php endif; ?>

	<li id="searchline">
	<form action="<?php echo ((is_array($_tmp='index.php')) ? $this->_run_mod_handler('GetUrl', true, $_tmp) : GetUrl($_tmp)); ?>
" method="post" id="search_form">
	<input  type="hidden" name="c" value="<?php echo $this->_tpl_vars['categoryid']; ?>
" />
	<input type="text" name="s" />				
	<input type="submit" class="submit" id="search_submit" name="messagesearchbtn" value="<?php echo $this->_tpl_vars['lan_search']; ?>
" />
	</form>
	</li></ul>
    </div>
    <div id="topnav">
        <p><?php echo $this->_tpl_vars['lan_yourposition']; ?>
&nbsp;<?php echo $this->_tpl_vars['pagenav']; ?>
&nbsp;</p>
    </div>
</div>
